﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TbDataSync
{
    public static class Log
    {
        public static void Info(string msg)
        {
            Console.WriteLine($"{DateTime.Now} {msg}");
        }

        public static void Debug(string msg)
        {
            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.WriteLine($"{DateTime.Now} {msg}");
            Console.ForegroundColor = ConsoleColor.Gray;
        }
    }

    public partial class Program
    {
        public static void Banner()
        {
            Console.ForegroundColor = ConsoleColor.DarkGreen;
            Console.WriteLine("*------------------------*");
            Console.WriteLine("*------ TB数据迁移 ------*");
            Console.WriteLine("*-------  V 1.0  --------*");
            Console.WriteLine("*------------------------*");
            Console.ForegroundColor = ConsoleColor.Gray;
        }
    }
}
